<%@ page contentType="text/html;charset=utf-8" language="java"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<html:html>
<head>
		<META http-equiv=Content-Type content="text/html; charset=utf-8">
		<LINK href="../styles/sciencee.css"  type=text/css rel=stylesheet>
		<style type="text/css"></style>
		<title>CGProject</title>
		<html:base/>
</head>
<body>

	<html:form action="/intoAdd">
	<table border="0" width="100%" cellspacing="1" id="table1" style="border: 1px solid #C0C0C0">
		<tr>
			<td height="25" align="left" bgcolor="#EEF2F7" colspan="2" width="100%">&nbsp;<b><bean:message key="role.list"/>&nbsp;&nbsp;<html:submit><bean:message key="role.add"/></html:submit></b></td>
		</tr>
		<tr>
			<td height="25" align="center" width="30%" style="border-right: 1px dotted #C0C0C0; border-bottom: 1px dotted #C0C0C0">
			<b>&nbsp;<bean:message key="role.name"/></b></td>
			<td height="25" align="left" width="70%" style="border-bottom: 1px dotted #C0C0C0">
			<b>&nbsp;&nbsp;</b></td>
		</tr>
		<tr>
		<logic:iterate id="element" name="listRole">		
		<tr>
			<td height="25" align="left" width="30%" style="border-left-width: 1px; border-right-style: dotted; border-right-width: 1px; border-top-width: 1px; border-bottom: 1px dotted #C0C0C0">
			&nbsp;&nbsp;<bean:write name="element" property="roleName"/></td>
			<td height="25" align="left" width="70%" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom: 1px dotted #C0C0C0">
				&nbsp;&nbsp;<html:link page="/detail.do" paramId="RoleId" paramName="element" paramProperty="roleId">[<bean:message key="detail"/>]</html:link>&nbsp;&nbsp;
				&nbsp;&nbsp;<html:link page="/intoMod.do" paramId="RoleId" paramName="element" paramProperty="roleId">[<bean:message key="modify"/>]</html:link>&nbsp;&nbsp;
				&nbsp;&nbsp;<html:link page="/delRole.do" paramId="RoleId" paramName="element" paramProperty="roleId" onclick="return   confirm('Confirm')">[<bean:message key="delete"/>]</html:link>&nbsp;&nbsp;
			</td>
		</tr>
		</logic:iterate>
	</table>
	</html:form>
</body>
</html:html>

		
		
		

